#pragma once
#include "multimedia.h"
#include <vector>
#include <iostream>
#include <string>
#include <algorithm>
#include <fstream>

using namespace std;

class multimediaRegister
{
private:
	int quit;
	vec *p;
	vector <multimedia> v;

public:
	multimediaRegister(void);
	void add();
	void print();
	multimedia * sok_agare(string agare);
	void  tabort_titel(string titel);
	void sortera_titel(string titel);
	void skriv_Fil();
	void las_Fil();
	friend ostream& operator<<(ostream& stream,multimediaRegister & op2);
	friend istream& operator>>(istream& stream, multimediaRegister& op2);
	multimediaRegister ( vec *pek);
	int Quit() { return quit;}

	~multimediaRegister(void);
};


	